import type { Edge, Node } from '@vue-flow/core';

const position = { x: 0, y: 0 };

export const initialNodes: Node[] = [
  {
    id: 'start',
    type: 'start',
    position,
    data: {
      label: '开始',
      description: '全部人可发起',
    },
  },
  {
    id: 'end',
    type: 'end',
    position,
    data: {
      label: '结束',
    },
  },
];

export const initialEdges: Edge[] = [
  { id: 'e-start-end', source: 'start', target: 'end' },
];
